package com.ruoyi.emergency.task;

import com.ruoyi.emergency.service.IEmTaskService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component("emTaskOverdueJob")
public class EmTaskOverdueJob {
    @Autowired
    private IEmTaskService emTaskService;

    public void updateOverdueTasks() {
        emTaskService.updateOverdueTasks();
    }
} 